package com.wang.blog.service;

import com.wang.blog.model.MeComment;

import java.util.List;

public  interface CommentService {

    List<MeComment> findAll();

    MeComment getCommentById(Integer id);

    Integer saveComment(MeComment comment);

    void deleteCommentById(Integer id);

    List<MeComment> listCommentsByArticle(Integer id);

    MeComment saveCommentAndChangeCounts(MeComment comment);

    void deleteCommentByIdAndChangeCounts(Integer id);


}
